package net.xju_5_6.entity.Vo;

import net.xju_5_6.entity.StudentCard;

public class StuCardVO {
    private Integer id;
    private String name;
    private String sn;
    private Integer cardId;
    private Integer clazzId;

    private StudentCard studentCard;

    public StuCardVO() {
    }

    public StuCardVO(Integer id, String name, String sn, Integer cardId, Integer clazzId, StudentCard studentCard) {
        this.id = id;
        this.name = name;
        this.sn = sn;
        this.cardId = cardId;
        this.clazzId = clazzId;
        this.studentCard = studentCard;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Integer getClazzId() {
        return clazzId;
    }

    public void setClazzId(Integer clazzId) {
        this.clazzId = clazzId;
    }

    public StudentCard getStudentCard() {
        return studentCard;
    }

    public void setStudentCard(StudentCard studentCard) {
        this.studentCard = studentCard;
    }

    @Override
    public String toString() {
        return "StuCardVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sn='" + sn + '\'' +
                ", cardId=" + cardId +
                ", clazzId=" + clazzId +
                ", studentCard=" + studentCard +
                '}';
    }
}
